package com.situ.day6;

public class RectangleTest {

	public static void main(String[] args) {
		Rectangle rectangle = new Rectangle(10, 30);
		int area = rectangle.area();
		System.out.println("面积为：" + area);
		int perimeter = rectangle.perimeter();
		System.out.println("周长为：" + perimeter);

	}

}
